package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * u5408u540cu6a21u677fu5bf9u8c61 contract_template
 * 
 * @author ruoyi
 */
public class ContractTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** u6a21u677fID */
    private Long templateId;

    /** u6a21u677fu540du79f0 */
    @Excel(name = "u6a21u677fu540du79f0")
    private String templateName;

    /** u6a21u677fu63cfu8ff0 */
    @Excel(name = "u6a21u677fu63cfu8ff0")
    private String description;

    /** u6587u4ef6ID */
    private String fileId;

    /** u6587u4ef6u540du79f0 */
    @Excel(name = "u6587u4ef6u540du79f0")
    private String fileName;

    /** u6587u4ef6URL */
    private String fileUrl;

    /** u6587u4ef6u7c7bu578b */
    @Excel(name = "u6587u4ef6u7c7bu578b")
    private String fileType;

    /** u6587u4ef6u5927u5c0f */
    @Excel(name = "u6587u4ef6u5927u5c0f")
    private Long fileSize;

    /** u72b6u6001uff080u6b63u5e38 1u505cu7528uff09 */
    @Excel(name = "u72b6u6001", readConverterExp = "0=u6b63u5e38,1=u505cu7528")
    private String status;

    /** u5173u8054u7684u5408u540cu7c7bu578bIDu5217u8868 */
    private Long[] typeIds;

    /** u5173u8054u7684u5408u540cu7c7bu578bu540du79f0u5217u8868uff08u975eu6570u636eu5e93u5b57u6bb5uff09 */
    private List<String> typeNames;

    /** u5408u540cu7c7bu578bID */
    private Long contractTypeId;

    public void setTemplateId(Long templateId) 
    {
        this.templateId = templateId;
    }

    public Long getTemplateId() 
    {
        return templateId;
    }

    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getTemplateName() 
    {
        return templateName;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setFileId(String fileId) 
    {
        this.fileId = fileId;
    }

    public String getFileId() 
    {
        return fileId;
    }

    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }

    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }

    public void setFileType(String fileType) 
    {
        this.fileType = fileType;
    }

    public String getFileType() 
    {
        return fileType;
    }

    public void setFileSize(Long fileSize) 
    {
        this.fileSize = fileSize;
    }

    public Long getFileSize() 
    {
        return fileSize;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public Long[] getTypeIds() 
    {
        return typeIds;
    }

    public void setTypeIds(Long[] typeIds) 
    {
        this.typeIds = typeIds;
    }

    public List<String> getTypeNames() 
    {
        return typeNames;
    }

    public void setTypeNames(List<String> typeNames) 
    {
        this.typeNames = typeNames;
    }

    public Long getContractTypeId() {
        return contractTypeId;
    }

    public void setContractTypeId(Long contractTypeId) {
        this.contractTypeId = contractTypeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("templateId", getTemplateId())
            .append("templateName", getTemplateName())
            .append("description", getDescription())
            .append("fileId", getFileId())
            .append("fileName", getFileName())
            .append("fileUrl", getFileUrl())
            .append("fileType", getFileType())
            .append("fileSize", getFileSize())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("contractTypeId", getContractTypeId())
            .toString();
    }
}
